package app.domain.order.util;


public enum Ticket {
	USD("USD"), EUR("EUR"), KZT("KZT"), JPY("JPY");

	private String str;
	
	Ticket(String str) {
		this.str = str;
	}
	
	public String getType() {
		return str;
	}
	
	public static boolean isTicket(String str) {
		for(Ticket t : Ticket.values()) {
			if(t.getType().equals(str)) {
				return true;
			}
		}
		return false;
	}
}
